ComponentOne Scheduler for WPF and Silverlight
NavigateToAppointment(Boolean,Nullable<DateTime>) Method

C1.WPF.Schedule Namespace > C1Scheduler Class > NavigateToAppointment Method : NavigateToAppointment(Boolean,Nullable<DateTime>) Method
If true, means the backward direction; forward direction otherwise.
The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the SelectedDateTime property value.
Navigates the C1Scheduler control to the nearest C1.C1Schedule.Appointment.
Syntax
'Declaration
 
Public Overloads Function NavigateToAppointment( _
   ByVal previous As System.Boolean, _
   ByVal startTime As System.Nullable(Of Date) _
) As System.Boolean
public System.bool NavigateToAppointment( 
   System.bool previous,
   System.Nullable<DateTime> startTime
)

Parameters

previous
If true, means the backward direction; forward direction otherwise.
startTime
The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the SelectedDateTime property value.

Return Value

True if navigation has occurred; False if there are no appointments in the specified direction.
See Also

Reference

C1Scheduler Class
C1Scheduler Members
Overload List